//
//  ZoomViewController.h
//  CamH
//
//  Created by xqiu on 12-8-29.
//  Copyright (c) 2012年 ghu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ZoomDelegate;

@interface ZoomViewController : UIViewController
{
    id<ZoomDelegate> zoomDelegate_;
    NSTimer *touchDownTimer;
    BOOL bZoomIn;
    CGFloat fLastScale;
}

- (IBAction)zoomInTouchDowm:(id)sender;
- (IBAction)zoomInAction:(id)sender;

- (IBAction)zoomOutTouchDowm:(id)sender;
- (IBAction)zoomOutAction:(id)sender;

- (IBAction)sliderAction:(id)sender;
- (void) setThumbValue:(CGFloat)value;

@property (retain, nonatomic) IBOutlet UISlider *m_pSlider;
@property (nonatomic, assign) id<ZoomDelegate> zoomDelegate;

@end


@protocol ZoomDelegate <NSObject>
@optional
- (void)valueChange:(CGFloat)value;

@end
